import request from "../utils/request";

//发送通知
export function sendNotice(param) {
  return request({
    url: '/bjgl/b-notice/send',
    method: 'post',
    data: param
  })
}

//获取未签到人员名单
export function getNoticeNotReadList(param) {
  return request({
    url: '/bjgl/b-notice/listNotRead',
    method: 'get',
    params: param
  })
}

//获取通知列表
export function getNoticeList(param) {
  return request({
    url: '/bjgl/b-notice/list',
    method: 'get',
    params: param
  })
}

//删除通知
export function deleteNotice(param) {
  return request({
    url: '/bjgl/b-notice/deleteNotice',
    method: 'post',
    data: param
  })
}

//获取通知详情
export function getNoticeDetail(param) {
  return request({
    url: '/bjgl/b-notice/getDetail',
    method: 'get',
    params: param
  })
}

//修改通知
export function editDetail(param) {
  return request({
    url: '/bjgl/b-notice/editNotice',
    method: 'post',
    data: param
  })
}
